// filepath: /home/wf/codings/simu-board/include/GUI/ValueSlider.hpp
#ifndef SIMUBOARD_VALUESLIDER_HPP
#define SIMUBOARD_VALUESLIDER_HPP

#include <FL/Fl_Slider.H>

// 统一风格的滑条组件：水平、浅灰轨道、青色高亮
class ValueSlider : public Fl_Slider
{
public:
    ValueSlider(int X, int Y, int W, int H)
        : Fl_Slider(X, Y, W, H)
    {
        type(FL_HORIZONTAL);
        color(fl_rgb_color(220, 223, 230));
        selection_color(fl_rgb_color(0, 150, 136));
        step(1);
    }
};

#endif // SIMUBOARD_VALUESLIDER_HPP

